package model.domain;

public class UserAccessBean {
	String userId;
	String serviceId;
	long dateFromAgo;
	int counter;
	double score;
	String clickTimeNow;
	
	public UserAccessBean() {
		super();
	}
	public UserAccessBean(String userId,  String serviceId, long dateFromAgo,
			int counter, double score, String clickTimeNow) {
		super();
		this.userId = userId;
		this.serviceId = serviceId;
		this.dateFromAgo = dateFromAgo;
		this.counter = counter;
		this.score = score;
		this.clickTimeNow = clickTimeNow;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public String getServiceId() {
		return serviceId;
	}
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}
	public long getDateFromAgo() {
		return dateFromAgo;
	}
	public void setDateFromAgo(long dateFromAgo) {
		this.dateFromAgo = dateFromAgo;
	}
	public int getCounter() {
		return counter;
	}
	public void setCounter(int counter) {
		this.counter = counter;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public String getClickTimeNow() {
		return clickTimeNow;
	}
	public void setClickTimeNow(String clickTimeNow) {
		this.clickTimeNow = clickTimeNow;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("UserAccessBean [userId=");
		builder.append(userId);
		builder.append(", serviceId=");
		builder.append(serviceId);
		builder.append(", dateFromAgo=");
		builder.append(dateFromAgo);
		builder.append(", counter=");
		builder.append(counter);
		builder.append(", score=");
		builder.append(score);
		builder.append(", clickTimeNow=");
		builder.append(clickTimeNow);
		builder.append("]");
		return builder.toString();
	}
}
